﻿namespace Beauty.NetWebApi
{
    /// <summary>
    /// Kafka消息请求模型
    /// </summary>
    public class KafkaMessageRequest
    {
        /// <summary>
        /// 消息键
        /// </summary>
        public string? Key { get; set; }

        /// <summary>
        /// 消息值
        /// </summary>
        public string? Value { get; set; }

        /// <summary>
        /// 消息头
        /// </summary>
        public Dictionary<string, object> Headers { get; set; } = new Dictionary<string, object>();
    }
}
